﻿using System;
using System.Xml.Serialization;

namespace DivShare
{
    /// <summary>
    /// Provides a response when log off is requested. This class cannot be inherited.
    /// </summary>
    [Serializable]
    [XmlRoot(ElementName = "response")]
    public sealed class LogOffResponse : GeneralResponse
    {
        /// <summary>
        /// Gets or sets the value indicating whether log off was successful.
        /// </summary>
        /// <value><c>true</c> if log off was successful; otherwise, <c>false</c>.</value>
        [XmlElement("logged_out")]
        public bool IsLoggedOff { get; set; }

    }
}
